* {
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100%;
  height: 100%;
  background-color: #f6f6f6;
  li {
    list-style: none;
  }
  a {
    text-decoration: none;
  }
}
// 清楚input样式
@mixin inp {
  outline-style: none;
  border: none;
}

// 字体样式
/***
$w字体加粗
$size字体大小
$color字体颜色
$position字体左右位置
$lingheight字体行高垂直位置
*/
@mixin size($w, $size, $color, $position, $lingheight) {
  font-weight: $w;
  font-size: $size;
  color: $color;
  text-align: $position;
  line-height: $lingheight;
}

@mixin wh($width, $height) {
  width: $width;
  height: $height;
}

// =========1头部区域==========
.baseHeader {
  overflow: hidden;
  position: relative;
  width: 100vw;
  height: 161px;
  font-size: 14px;
  color: #877a73;

  .wrapper {
    width: 1200px;
    height: 100%;
    margin: 0 auto;

    .logo {
      overflow: hidden;
      float: left;
      margin: 50px 0 0 20px;
      height: 75px;
      width: 225px;
      img {
        float: left;
        width: 100%;
        height: 100%;
      }
    }
    .search {
      position: relative;
      float: left;
      margin-left: 110px;
      margin-top: 53px;
      width: 532px;
      height: 48px;
      box-shadow: inset 0 0 0 2px #43240c;
      border-radius: 30px;
      background: url(../static/sh.png) no-repeat 13px;
      background-size: 20px 20px;
      input {
        position: absolute;
        top: 3px;
        left: 47px;
        width: 355px;
        height: 42px;
        font-size: 16px;
        line-height: 43px;
        color: #43200c;
        @include inp;
      }
      .btn {
        position: absolute;
        top: 3px;
        right: 4px;
        width: 124px;
        height: 42px;
        border-radius: 20px;
        background-color: #fee44e;
        @include size(500, 14px, #43200c, center, 42px);
      }
    }
    .advantage {
      float: right;
      display: flex;
      justify-content: space-between;
      width: 162px;
      height: 60px;
      margin: 43px 86px 0 0;

      li {
        display: flex;
        flex-direction: column;
        font-size: 12px;
      }
      img {
        width: 40px;
        height: 40px;
      }
    }
  }
}

// ===========2导航区域===============
.normal {
  height: 46px;
  background-color: #43240c;
  .navbanner {
    margin: 0 auto;
    width: 1200px;
    height: 46px;
.active{
  background-color: #fee44e;
}
    li {
      float: left;
      height: 100%;
      padding: 0 55px;
      cursor: pointer;
      &:hover {
        background-color: #fee44e;
     }
      @include size(400px, 14px, #fff, center, 46px);
    }
  }
}

// =============3轮播图导航区域====================
.indexBanner {
  height: 370px;
  .banner {
    @include wh(1200px, 370px);
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    background-color: pink;
    .nav2 {
      line-height: 41px;
      background-color: #fcf9e3;
      li {
        @include wh(220px, 41px);
        display: flex;
        &:hover {
          background-color: #ffffff;
        }
        img {
          @include wh(20px, 20px);
          margin: 12px 15px 0 55px;
        }
        .baab {
          display: flex;
          @include size(400px, 14px, #43200c, center, 41px);
          p {
            cursor: pointer;
            &:hover {
              color: #ff5656;
            }
          }
        }
      }
      @include wh(220px, 100%);
    }

    // 中
    .container {
      @include wh(660px, 100%);
      background-color: aquamarine;
      position: relative;

      // 中上轮播图
      .wrapper {
        position: absolute;
        top: 0;
        left: 0;
        background-color: #fee44e;
        @include wh(100%, 234px);

        .slide {
          @include wh(100%, 100%);
          position: absolute;
          top: 0;
          left: 0;
          display: none;
          img {
            @include wh(660px, 100%);
          }
        }
      }

      // 分页器
      .pagination {
        position: absolute;
        bottom: 150px;
        width: 100%;
        height: 30px;
        line-height: 37px;
        text-align: center;
        // background: rgba(59, 42, 42, 0);
        i {
          width: 8px;
          height: 8px;
          display: inline-block;
          border-radius: 20px;
          background-color: #000;
          opacity: 0.2;
          margin: 5px;
        }
        .active {
          background-color: #007aff;
          opacity: 1;
        }
      }

      // 上下按钮
      .prev,
      .next {
        @include wh(20px, 30px);
        @include size(400, 24px, #fff, center, 30px);
        background-color: rgba(5, 5, 5, 0.3);
        position: absolute;
        top: -127px;
        bottom: 0;
        margin: auto;
        cursor: pointer;
      }
      .next {
        right: 0;
      }

      // 中下---轮播图下
      .banner-container-bottom {
        @include wh(100%, 128px);
        position: absolute;
        left: 0;
        bottom: 0;

        .left1 {
          float: left;
          position: relative;
          @include wh(291px, 86px);
          margin-right: 10px;
          color: #fff;
          border-radius: 15px;
          padding-top: 26px;
          padding-left: 34px;
          padding-bottom: 16px;
          background: linear-gradient(270deg, #ffd1dd, #fca6c0);
          background-image: linear-gradient(
            270deg,
            rgb(255, 209, 221),
            rgb(252, 166, 192)
          );
          background-position-x: initial;
          background-position-y: initial;
          background-size: initial;
          background-repeat-x: initial;
          background-repeat-y: initial;
          background-attachment: initial;
          background-origin: initial;
          background-clip: initial;
          background-color: initial;

          &:hover {
            box-shadow: 0 5px 20px rgba(5, 5, 5, 0.3);
          }
          .btn1 {
            display: block;
            margin-top: 10px;
            background-color: #fff;
            border-radius: 10px;
            cursor: pointer;
            @include size(400, 14px, #fdc1c5, center, 20px);
            @include wh(50px, 20px);
          }
          .pic1 {
            position: absolute;
            right: 0;
            top: 0;
            @include wh(125px, 125px);
          }
        }
        .right1 {
          float: left;
          @include wh(291px, 86px);
          position: relative;
          color: #fff;
          border-radius: 15px;
          padding-top: 26px;
          padding-left: 34px;
          padding-bottom: 16px;
          background: linear-gradient(270deg, #fffffe, #fec07e);
          background-image: linear-gradient(
            270deg,
            rgb(255, 255, 254),
            rgb(254, 192, 126)
          );
          background-position-x: initial;
          background-position-y: initial;
          background-size: initial;
          background-repeat-x: initial;
          background-repeat-y: initial;
          background-attachment: initial;
          background-origin: initial;
          background-clip: initial;
          background-color: initial;

          &:hover {
            box-shadow: 0 5px 20px rgba(5, 5, 5, 0.3);
          }
          .btn2 {
            display: block;
            margin-top: 10px;
            background-color: #fff;
            border-radius: 10px;
            cursor: pointer;
            @include size(400, 14px, #fecaaa, center, 20px);
            @include wh(50px, 20px);
          }
          .pic2 {
            position: absolute;
            right: 0;
            top: 0;
            @include wh(125px, 125px);
          }
        }
      }
    }

    // 右边区域
    .right {
      width: 300px;
      height: 100%;
      background-color: burlywood;
      .top {
        position: relative;
        @include wh(100%, 234px);
        background-color: #fff4e4;
        h3 {
          position: absolute;
          top: 32px;
          left: 13px;
          font-size: 24px;
          color: #ff5817;
        }
        .prompt {
          @include wh(90px, 36px);
          position: absolute;
          top: 76px;
          left: 0;
          z-index: 1;
          padding: 0 47px 0 22px;
          font-size: 18px;
          line-height: 36px;
          color: #fff;
          background: url(../static/jt1.png) no-repeat 50% / cover;
        }
        .pic3 {
          @include wh(134px, 134px);
          position: absolute;
          bottom: 0;
          right: 20px;
        }
      }

      // 下
      .bottom {
        @include wh(100%, 128px);

        border-radius: 10px;
        background-color: salmon;
        box-sizing: border-box;
        position: relative;
        margin: 7px;
        padding: 35px 0 0 34px;
        background: linear-gradient(270deg, #e7f5ff, #afdcff);
        border-radius: 8px;
        .data1 {
          font-size: 18px;
          color: #fff;
        }
        .data2 {
          font-size: 18px;
          color: #fff;
        }
        .pic4 {
          box-sizing: border-box;
          position: absolute;
          top: 14px;
          right: 20px;
          width: 100px;
          height: 100px;
          background-color: #fff;
          border-radius: 18px;
          border: 8px solid #afdcff;
        }
      }
    }
  }
}

// ================title-bar================
.title-bar {
  .bar-banner {
    @include wh(1200px, 57px);
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    background-color: #ffffff;
    .data-v1 {
      float: left;
      margin-left: 52px;
      @include size(400, 18px, #43240c, center, 57px);
    }
    .data-v2 {
      float: left;
      margin-left: 30px;
      @include size(400, 14px, #877a73, center, 57px);
    }
  }
}

// =================回到顶部=================
.backbtn{
  cursor: pointer;
  position: fixed;
  right: 50px;
  bottom: 315px;

  .top{
    width: 60px;
    height: 60px;
  }
}
// ================choice商品列表区域 =============
.choice {
  .choice-banner {
    width: 1200px;
    min-height: 300px;
    margin: 0 auto;

    .base-commodity-list {
      width: 1168px;
      height: 100%;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      margin: 0 auto;

      li {
        margin-bottom: 22px;
        border: 1px solid red;
        @include wh(276px, 400px);
        cursor: pointer;
        img {
          float: left;
          @include wh(276px, 276px);
        }
        .xia {
          @include wh(242px, 96px);
          float: left;
          padding-top: 10px;
          padding-left: 17px;
          padding-bottom: 17px;
          padding-right: 17px;

          .describe {
            overflow: hidden;
            font-size: 14px;
            line-height: 18px;
            text-overflow: ellipsis;
            color: #877a73;
            white-space: nowrap;
          }
          .commodity-card-keyword {
            @include wh(100%, 20px);
            margin-top: 16px;

            .one1 {
              float: left;
              background-color: #ff4400;
              color: #fff;
            }
            .two1 {
              float: right;
              color: #877a73;
            }
          }
          .commodity-card-foot {
            @include wh(100%, 28px);
            margin-top: 14px;
            line-height: 28px;

            span {
              float: left;
            }
            .price-tag {
              color: #fa585a;
              font-size: 12px;
            }
            .price-strong {
              font-size: 28px;
              color: #fa585a;
            }
            .digit {
              font-size: 18px;
              color: #fa585a;
            }
            .sale-num {
              color: #877a73;
              font-size: 14px;
              margin-left: 10px;
            }
            .coupon-value {
              float: right;
              margin-top: 3px;
              border: 1px solid #fa585a;
              @include size(400, 12px, #fa585a, center, 20px);
              @include wh(50px, 20px);
            }
          }
        }
      }
    }
  }
}

// ==============查看更多================
.choice-more-btn {
  height: 70px;
  .more-btn {
    @include wh(1200px, 70px);
    margin: 0 auto;
    text-align: center;
  }
  .look-btn {
    cursor: pointer;
    margin: 0 auto;
    width: 250px;
    @include size(500, 24px, #3f352e, center, 70px);
    color: #3f352e;
    background-color: #fee44e;
    border-radius: 35px;
  }
}

// ====================footer=================
.footer {
  height: 240px;
  margin-top: 81px;
  background-color: #484848;
  .base-footer {
    @include wh(1200px, 240px);
    margin: 0 auto;
    position: relative;
   
    .img1 {
      @include wh(112px, 112px);
      float: left;
      margin-top: 37px;
      margin-left: 40px;
      margin-right: 19px;
    }
    .xmyx {
      position: absolute;
      left: 170px;
      top: 45px;
      color: #fff;
    }
    .xiangqing {
      position: absolute;
      left: 170px;
      top: 89px;
      color: #fff;
    }
    .xian {
      position: absolute;
      left: 550px;
      top: 80px;
      font-size: 20px;
      color: #ffffff;
    }
    .item {
      position: absolute;
      left: 575px;
      top: 80px;
      font-size: 20px;
      color: #ffffff;
    }
    .footer2 {
      width: 1200px;
      height: 22px;
      position: absolute;
      bottom: 0;
      @include size(500, 18px, #ffffff, center, 22px);

      .police-icon {
        position: absolute;
        left: 340px;
        bottom: 0;
        @include wh(22px, 22px);
        margin-top: 5px;
        float: left;
      }
      .police-icon2 {
        position: absolute;
        right: 345px;
        @include wh(22px, 22px);
      }
      .xinxi {
        position: absolute;
        right: 265px;
      }
    }
  }
}

// ================aqLogoLRRZT===================
.aqLogoLRRZT{
  height: 83px;
  .aqLogo{
    @include wh(1200px,30px);
    margin: 0 auto;
    text-align: center;
    padding-bottom: 50px;
  }
}